package com.xbongbong.paas.pojo.workflow.settings.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.pro.enums.workflow.TriggerEventTypeEnum;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author 吴峰
 * @date 2021/05/14 15:05
 */
@Getter
@Setter
@ToString
public class WorkflowSortListDTO extends BaseDTO {

    private static final long serialVersionUID = 6747075481152828945L;
    @NotNull(message = "{dto.msg.formId.NotNull}")
    private Long formId;

    private Integer saasMark;

    private Integer businessType;

    /**
     * @see TriggerEventTypeEnum
     */
    @NotNull(message = "{dto.msg.WorkflowNodePojo.triggerType.NotNull}")
    private Integer triggerType;
}
